import request from '@/router/axios';

export const sendOneWebSocket = (messageDTO) => request({
  url: '/api/pxx-websocket/sendOneWebSocket',
  method: 'post',
  data: messageDTO
})

export const sendChatWebSocket = (messageDTO) => request({
  url: '/api/pxx-websocket/sendChatWebSocket',
  method: 'post',
  params: messageDTO
})
